package com.xxxx.portal.service;

import com.github.qcloudsms.httpclient.HTTPException;
import com.xxxx.common.pojo.Admin;
import org.springframework.stereotype.Service;

import java.io.IOException;

/**
 * @Author GP
 * @Date 2020/9/2 19:25
 */
@Service
public interface AdminService {
    /**
     * 用户注册,向数据库中添加用户
     */
    public Boolean register(Admin admin) throws HTTPException, IOException;
}
